#!/usr/bin/python
# -*- coding: UTF-8 -*-
import matplotlib.pyplot as plot
import numpy as np
'''
print(plot.style.available)
'bmh', 'classic', 'dark_background', 'fast', 'fivethirtyeight', 'ggplot', 'grayscale', 'seaborn-bright', 'seaborn-colorblind', 'seaborn-dark-palette', 'seaborn-dark', 'seaborn-darkgrid', 'seaborn-deep', 'seaborn-muted', 'seaborn-notebook', 'seaborn-paper', 'seaborn-pastel', 'seaborn-poster', 'seaborn-talk', 'seaborn-ticks', 'seaborn-white', 'seaborn-whitegrid', 'seaborn', 'Solarize_Light2', '_classic_test'
'''
plot.style.use("ggplot")
flg,ax=plot.subplots(ncols=2,nrows=2)
ax1,ax2,ax3,ax4=ax.ravel()
x,y=np.random.normal(size=(2,100))
ax1.plot(x,y,"o")


x2=np.arange(0,10)
y2=np.arange(0,10)
ncolor=len(plot.rcParams["axes.prop_cycle"])
shift=np.linspace(0,10,ncolor)
print(plot.rcParams["axes.prop_cycle"])
for line in shift:
    ax2.plot(x2,y2+line,"-")

x=np.arange(5)
y1,y2,y3=np.random.randint(1,25,size=(3,5))
width=0.25
ax3.bar(x,y1,width)
ax3.bar(x+width,y2,width)
ax3.bar(x+2*width,y3,width)

for i,color in enumerate(plot.rcParams["axes.prop_cycle"]):
    xy=np.random.normal(size=2)
    print(xy)
    ax4.add_patch(plot.Circle(xy,radius=0.3,color=color["color"]))

ax4.axis("equal")

plot.show()

